import collections
class Solution(object):
    def findLonely(self, nums):
        ans = []
        c = collections.Counter(nums)
        for num in nums:
            if c[num] == 1 and not c[num - 1] and not c[num + 1]:
                ans.append(num)
        return ans